How to compare two columns and remove duplicates from the first one

join shbcf.ru